app-select{
    display:block;
    width:100%;
}

.select-wrap {
    position: relative;
}
/*    .select-wrap:after {
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        content: "\f107";
        position: absolute;
        top: 0;
        left: 0;
        margin: .5rem;
    }*/


.select2-hidden-accessible {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
}

.select2-container--default {
    --border-radius: 0.25rem;
    --shadow-intensity: 0.75;
    --select2-caret-width: calc(calc(2.4375rem + 2px) - 2px);
    --select2-height: calc(2.4375rem + 2px);
    --select2-line-height: 1.5;
    --select2-padding-x: 1rem;
    --select2-padding-y: 0.5625rem;
    --select2-font-size: 0.875rem;
    --select2-multiple-padding: 0.2rem;
    --select2-choice-padding-x: 0.5rem;
    width: 100% !important;
    --select2-choice-padding-y: 0;
    --select2-choice-line-height: 1.7;
    display: block;
    direction: rtl;
    text-align: right;
    /*------------------------------------*\
      #COMMON STYLES
    \*------------------------------------*/
    /**
   * Adjust Select2's choices hover and selected styles to match
   * Bootstrap 4's default dropdown styles.
   *
   * @see http://getbootstrap.com/components/#dropdowns
   */
    /*------------------------------------*\
      #DROPDOWN
  \*------------------------------------*/
    /*------------------------------------*\
      #SINGLE SELECT2
    \*------------------------------------*/
    /*------------------------------------*\
    #MULTIPLE SELECT2
    \*------------------------------------*/
    /*------------------------------------*\
      Smartstore specific styles
	\*------------------------------------*/
    /*------------------------------------*\
    #RTL SUPPORT
    \*------------------------------------*/
}

    .select2-container--default .select2-selection--single .select2-selection__arrow b:after {
        display: none !important;
    }

    .select2-container--default .select2-selection {
        box-shadow: none;
        background-color: #fff;
        border: 1px solid #dee2e6;
        border-radius: var(--border-radius);
        color: #596167;
        font-size: var(--select2-font-size);
        outline: 0;
    }

        .select2-container--default .select2-selection.input-sm, .form-control-sm + .select2-container--default .select2-selection, .input-group-sm .select2-container--default .select2-selection {
            --border-radius: 0.2rem;
            --select2-caret-width: calc(calc(1.96875rem + 2px) - 2px);
            --select2-padding-x: 0.75rem;
            --select2-padding-y: 0.375rem;
            --select2-height: calc(1.96875rem + 2px);
            --select2-line-height: 1.5;
            --select2-font-size: 0.8125rem;
            --select2-multiple-padding: 0.125rem;
            --select2-choice-padding-x: 0.375rem;
            --select2-choice-line-height: inherit;
        }

        .select2-container--default .select2-selection.input-lg, .form-control-lg + .select2-container--default .select2-selection, .input-group-lg .select2-container--default .select2-selection {
            --border-radius: 0.4rem;
            --select2-caret-width: calc(calc(3rem + 2px) - 2px);
            --select2-padding-x: 1.5rem;
            --select2-padding-y: 0.75rem;
            --select2-height: calc(3rem + 2px);
            --select2-line-height: 1.5;
            --select2-font-size: 1rem;
            --select2-choice-padding-x: 0.75rem;
        }

    .select2-container--default .select2-search--dropdown .select2-search__field {
        box-shadow: none;
        background-color: #fff;
        border: 1px solid #dee2e6;
        border-radius: var(--border-radius);
        color: #596167;
        font-size: var(--select2-font-size);
        border-radius: 0.2rem;
    }

    .select2-container--default .select2-search__field {
        outline: 0;
        /* Firefox 18- */
        /**
     * Firefox 19+
     *
     * @see http://stackoverflow.com/questions/24236240/color-for-styled-placeholder-text-is-muted-in-firefox
     */
    }

        .select2-container--default .select2-search__field:focus {
            border-color: #689de8;
        }

        .select2-container--default .select2-search__field::-webkit-input-placeholder {
            color: #8d9ba9;
        }

        .select2-container--default .select2-search__field:-moz-placeholder {
            color: #8d9ba9;
        }

        .select2-container--default .select2-search__field::-moz-placeholder {
            color: #8d9ba9;
            opacity: 1;
        }

        .select2-container--default .select2-search__field:-ms-input-placeholder {
            color: #8d9ba9;
        }


    .select2-container--default .select2-results__option > div{
        display:flex;
        direction:rtl;
        gap:.5rem;
        font-size:14px;
        align-items: baseline;
    }

        .select2-container--default .select2-results__option > div span{
            line-height: 1.1;
            display: inline-block;
        }

        .select2-container--default .select2-results__option {
            --select2-option-indent: 1;
            --select2-option-padding-x-start: 1rem;
            --select2-option-padding-x-end: 1rem;
            --select2-option-padding-y: 0.5625rem;
            padding-left: calc(var(--select2-option-padding-x-start) * var(--select2-option-indent));
            padding-right: var(--select2-option-padding-x-end);
            padding-top: var(--select2-option-padding-y);
            padding-bottom: var(--select2-option-padding-y);
        }


        .select2-container--default .select2-results__option .info{
            line-height:1;
            font-size: 0.9em;
            font-weight:normal;
            color:gray;
        }

    .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable .info {
        color:white;
    }

    .select2-container--default .select2-results__option[role=group] {
        padding: 0 !important;
        padding-top: 0.75em !important;
    }

        .select2-container--default .select2-results__option[aria-disabled=true] {
            color: #aab5bf;
            cursor: not-allowed;
        }

        .select2-container--default .select2-results__option[aria-selected=true] {
            color: #393f46;
            font-weight: 600;
        }

    .select2-container--default .select2-results__option--highlighted[aria-selected] {
        background-color: #f8f9fa;
        color: #393f46;
    }

    .select2-container--default .select2-results__option .select2-results__option {
        --select2-option-indent: 2;
    }



    .select2-container--default .select2-results__group {
        color: inherit;
        display: block;
        padding: 0.5625rem 1rem;
        white-space: nowrap;
        font-weight: 600;
    }

        .select2-container--default .select2-results__group .select2-option {
            font-size: 0.875rem;
            line-height: 1.5;
        }

    .select2-container--default.select2-container--focus .select2-selection {
        border-color: #689de8;
        /* height: 1.8rem; */
    }

    .select2-container--default.select2-container--open .select2-selection {
        --shadow-yoffset: 0.175;
        box-shadow: 0 calc(10px * var(--shadow-yoffset, 1)) 40px -4px rgba(var(--shadow-colorbase-rgb), calc(var(--shadow-intensity) * 0.14)), 0 calc(12px * var(--shadow-yoffset, 1)) 28px -12px rgba(var(--shadow-color-rgb), calc(var(--shadow-intensity) * 0.2));
        border-color: #e9ecef;
        clip-path: inset(-200px -200px 0 -200px);
    }

        .select2-container--default.select2-container--open .select2-selection .select2-selection__arrow b:after {
            content: '\f077';
        }

    .select2-container--default.select2-container--open.select2-container--below .select2-selection {
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
        border-bottom-color: transparent;
    }

    .select2-container--default.select2-container--open.select2-container--above .select2-selection {
        --shadow-yoffset: 0.175;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-top-color: transparent;
        clip-path: inset(0 -200px -200px -200px);
    }

    .select2-container--default .select2-selection__clear {
        color: #8d9ba9;
        cursor: pointer;
        float: right;
        font-weight: bold;
    }

        .select2-container--default .select2-selection__clear:hover {
            color: #393f46;
        }

    .select2-container--default.select2-container--disabled .select2-selection {
        border-color: #dee2e6;
        box-shadow: none;
    }

    .select2-container--default.select2-container--disabled .select2-selection,
    .select2-container--default.select2-container--disabled .select2-search__field {
        cursor: not-allowed;
    }

    .select2-container--default.select2-container--disabled .select2-selection,
    .select2-container--default.select2-container--disabled .select2-selection--multiple .select2-selection__choice {
        background-color: #f8f9fa;
    }

    .select2-container--default.select2-container--disabled .select2-selection__clear,
    .select2-container--default.select2-container--disabled .select2-selection--multiple .select2-selection__choice__remove {
        display: none;
    }

    .select2-container--default .select2-dropdown {
        box-shadow: 0 calc(10px * var(--shadow-yoffset, 1)) 40px -4px rgba(var(--shadow-colorbase-rgb), calc(var(--shadow-intensity) * 0.14)), 0 calc(12px * var(--shadow-yoffset, 1)) 28px -12px rgba(var(--shadow-color-rgb), calc(var(--shadow-intensity) * 0.2));
        clip-path: inset(0 -200px -200px -200px);
        border-color: #e9ecef;
        overflow-x: hidden;
        margin-top: -1px;
        z-index: 1060;
    }

    .select2-container--default .select2-dropdown--above {
        clip-path: inset(-200px -200px 0 -200px);
        margin-top: 1px;
    }

    .select2-container--default .select2-results > .select2-results__options {
        max-height: 320px;
        overflow-y: auto;
    }

    .select2-container--default .select2-selection--single {
        border-radius: var(--border-radius);
        height: var(--select2-height);
        line-height: var(--select2-line-height);
        padding: var(--select2-padding-y) var(--select2-padding-x);
        padding-left: calc(var(--select2-caret-width) + calc(var(--select2-padding-x) / 2));
        font-size: var(--select2-font-size);
        line-height: var(--select2-line-height);
        height: var(--select2-height);
    }

        .select2-container--default .select2-selection--single .select2-selection__clear {
            margin-top: -2px;
            margin-right: 4px;
        }

        .select2-container--default .select2-selection--single .select2-selection__arrow {
            position: absolute;
            top: 50% !important;
            transform: translateY(-50%);
            height: 95%;
            bottom: 1px;
            right: unset !important;
            left: 5px;
            /* border: 0 solid #dee2e6; */
            border-left-width: 1px;
            width: var(
            --select2-caret-width);
            border-radius: var(
            --border-radius);
            background-color: #f8f9fa;
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

            .select2-container--default .select2-selection--single .select2-selection__arrow b {
                width: 7px;
                height: 7px;
                color: inherit;
                top: unset;
                position: relative;
                padding: 0;
                left: unset;
                transform: rotate(45deg);
                -webkit-transform: rotate(45deg);
            }

                .select2-container--default .select2-selection--single .select2-selection__arrow b:after {
                    position: absolute;
                    display: inline-block;
                    font-style: normal;
                    font-variant: normal;
                    text-rendering: auto;
                    -webkit-font-smoothing: antialiased;
                    line-height: 1;
                    font-size: 10px;
                    font-weight: 900;
                    font-family: "Font Awesome 5 Free";
                    content: "";
                }

        .select2-container--default .select2-selection--single .select2-selection__rendered {
            color: #596167;
            display: none;
            padding: 0;
        }

        .select2-container--default .select2-selection--single .select2-selection__placeholder {
            color: #8d9ba9;
        }

    .select2-container--default.select2-container--open .select2-selection,
    .select2-container--default.select2-container--open .select2-selection__arrow {
        background-color: #fff;
    }

    .select2-container--default.select2-container--open .select2-selection__arrow {
        border-color: transparent;
    }

    .select2-container--default .select2-results {
        background: #fff;
    }

    .select2-container--default .select2-results__option {
        position: relative;
        padding: 5px .5rem;
    }

        .select2-container--default .select2-results__option > .select2-option,
        .select2-container--default .select2-results__option > .select2-item-description {
            display: block;
            font-size: 0.8125rem;
            padding-right: 10px;
        }

            .select2-container--default .select2-results__option > .select2-option:after {
                position: absolute;
                right: 8px;
                display: inline-block;
                font-style: normal;
                font-variant: normal;
                text-rendering: auto;
                -webkit-font-smoothing: antialiased;
                line-height: 1;
                font-size: inherit;
                font-weight: 900;
                font-family: "Font Awesome 5 Free";
                content: "";
                color: #009e74;
                text-align: right;
                width: 18px;
                line-height: 1.5;
                visibility: hidden;
            }

        .select2-container--default .select2-results__option > .select2-item-description {
            font-weight: normal;
        }

        .select2-container--default .select2-results__option[aria-selected=true] > .select2-option:after {
            visibility: visible;
        }

        .select2-container--default .select2-results__option .select2-item-btn {
            position: relative;
            top: -3px;
            right: 6px;
            opacity: 0.0;
            transition: opacity 0.05s linear;
        }

            .select2-container--default .select2-results__option .select2-item-btn > a.btn {
                color: unset;
                width: 25px;
                height: 25px;
            }

                .select2-container--default .select2-results__option .select2-item-btn > a.btn > i {
                    width: unset;
                }

        .select2-container--default .select2-results__option:hover .select2-item-btn {
            opacity: 1;
        }

        .select2-container--default .select2-results__option .select2-item-link {
            font-weight: 600;
            font-size: 0.875rem;
            line-height: 1.5;
        }

    .select2-container--default .select2-dropdown--below .select2-results {
        border-top: 1px solid #e9ecef;
    }

    .select2-container--default .select2-dropdown--above .select2-results {
        border-bottom: 1px solid #e9ecef;
    }

    .select2-container--default .select2-search--dropdown {
        padding: 0 1rem 0.5rem 1rem;
        background-color: #fff;
    }

    .select2-container--default .select2-dropdown--above .select2-search--dropdown {
        padding-bottom: 0.5rem;
        padding-top: 0.5rem;
    }

    .select2-container--default .select2-selection--single.select-customtemplate,
    .select2-container--default .drop-customtemplate .select2-results__option {
        padding-left: 0.5rem;
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }

    .select2-container--default .select2-selection--single.select-customtemplate {
        display: flex;
        align-items: center;
    }

        .select2-container--default .select2-selection--single.select-customtemplate > .select2-selection__rendered {
            width: 100%;
        }

            .select2-container--default .select2-selection--single.select-customtemplate > .select2-selection__rendered > .select2-selection__clear {
                margin-top: 5px;
            }

    .select2-container--default[dir="rtl"] .select2-selection--single {
        padding-right: 1rem;
        padding-left: calc(calc(2.4375rem + 2px) + 0.5rem);
    }

        .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__rendered {
            padding-right: 0;
            padding-left: 0;
            text-align: right;
        }

        .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
            float: left;
            margin-left: 4px;
            margin-right: initial;
        }

        .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
            left: 1px;
            right: auto;
            border-left-width: 0;
            border-right-width: 1px;
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
            border-top-left-radius: var(--border-radius);
            border-bottom-left-radius: var(--border-radius);
        }




    .select2-container--default > [dir="rtl"] .select2-results__option {
        padding-right: calc(var(--select2-option-padding-x-start) * var(--select2-option-indent));
        padding-left: var(--select2-option-padding-x-end);
    }

        .select2-container--default > [dir="rtl"] .select2-results__option > .select2-option {
            padding-left: 10px;
            padding-right: initial;
        }

            .select2-container--default > [dir="rtl"] .select2-results__option > .select2-option:after {
                left: 8px;
                right: auto;
                text-align: left;
            }

    .select2-container--default .field-img{
        width: 1.5em;
        flex: 0 0 1.5em;
        font-size: 19px;
        height: 1.5em;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .select2-container--default img {
        max-height: 100%;
        max-width: 100%;
        object-fit: cover;
        width: 100%;
    }
    /*#region --muli */
    .select2-selection--multiple .select2-search--inline {
        float: none;
    }


.select2-container--default .select2-selection--multiple .select2-selection__choice {
    font-size: var(--select2-font-size);
    color: #596167;
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: calc(var(--border-radius) - 1px);
    cursor: default;
    padding: 0px 0;
    display: inline-flex;
    align-items: center;
    margin: 0.2rem;
    line-height: var(--select2-choice-line-height);
}


.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #8d9ba9;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    margin-right: 0;
    margin-top: -2px;
    border: none;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: inline;
    list-style: none;
    text-overflow: unset;
    overflow: unset;
    white-space: unset;
    padding: 0;
}

.select2-container .select2-selection--multiple {
    padding: 5px;
}

/*#endregion */

select.form-control {
    appearance: auto;
    /*padding: 1px !important;*/
}